﻿
@{
    Layout = null;
}
@using WebApplicationKG.Models.Chp01Enity;
<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Demo02</title>
</head>
<body>
    <h1>@ViewData["Info"]</h1>
    <h2>员工基本信息如下：</h2>
    @{
        var emp = ViewData["Emp"] as Employee ;
		if (emp !=null)
        {
            <p>编号：@emp.EmpId</p>
    <p>姓名：@emp.EmpName</p>
    <p>电话：@emp.EmpPhone</p>
        }
	}
	

</body>
</html>
